package cn.com.nes.site.service.crm.customer;

import cn.com.nes.mybatis.agent.crm.entity.CustomerFile;
import cn.com.nes.site.service.crm.customer.bo.CustomerFileBO;
import cn.com.nes.site.service.crm.customer.dto.CustomerFileDTO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface CustomerFileService extends IService<CustomerFile> {

    /**
     * 获取客户文件列表
     */
    List<CustomerFileDTO> getCustomerFileList(CustomerFileBO customerFileBo);


    /**
     * 客户文件分页
     * @param customerFileBo
     * @return
     */
    Page<CustomerFileDTO> getCustomerFilePage(CustomerFileBO customerFileBo) throws Exception;


    /**
     * 保存客户文件
     * @param customerFileBo
     * @return
     */
    CustomerFile saveCustomerFile(CustomerFileBO customerFileBo) throws Exception;

    /**
     * 删除客户文件
     */
    void delCustomerFile(CustomerFileBO customerFileBO);

    void delCustomerFile(String customerUUid);
    List<CustomerFile> saveCustomerFiles(List<CustomerFileBO> customerFileBOList) throws Exception;

}




